[INFO] cloning repository https://github.com/hamilton102/math-parser
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hamilton102/math-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamilton102%2Fmath-parser", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamilton102%2Fmath-parser'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ead233b27d09cf15546c4d891a978a0adf6fc745
[INFO] fixing hamilton102/math-parser against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamilton102%2Fmath-parser" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hamilton102/math-parser
[INFO] finished tweaking git repo https://github.com/hamilton102/math-parser
[INFO] tweaked toml for git repo https://github.com/hamilton102/math-parser written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hamilton102/math-parser on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hamilton102/math-parser already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e3c6624193c74a646169a9bb295b31a07ab587193cc65707b922bbf5f720f507
[INFO] running `Command { std: "docker" "start" "e3c6624193c74a646169a9bb295b31a07ab587193cc65707b922bbf5f720f507", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e3c6624193c74a646169a9bb295b31a07ab587193cc65707b922bbf5f720f507" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e3c6624193c74a646169a9bb295b31a07ab587193cc65707b922bbf5f720f507", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e3c6624193c74a646169a9bb295b31a07ab587193cc65707b922bbf5f720f507" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking project_v3 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `mut` or `const` keyword in raw pointer type
[INFO] [stdout]   --> src/main.rs:67:37
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn make_binop(op: TOKENTYPE, left: *AST, right: *AST) -> Box<Self> {
[INFO] [stdout]    |                                        ^
[INFO] [stdout]    |
[INFO] [stdout] help: add `mut` or `const` here
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn make_binop(op: TOKENTYPE, left: *mut AST, right: *AST) -> Box<Self> {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 67 |     fn make_binop(op: TOKENTYPE, left: *const AST, right: *AST) -> Box<Self> {
[INFO] [stdout]    |                                         +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `mut` or `const` keyword in raw pointer type
[INFO] [stdout]   --> src/main.rs:67:50
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn make_binop(op: TOKENTYPE, left: *AST, right: *AST) -> Box<Self> {
[INFO] [stdout]    |                                                     ^
[INFO] [stdout]    |
[INFO] [stdout] help: add `mut` or `const` here
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn make_binop(op: TOKENTYPE, left: *AST, right: *mut AST) -> Box<Self> {
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 67 |     fn make_binop(op: TOKENTYPE, left: *AST, right: *const AST) -> Box<Self> {
[INFO] [stdout]    |                                                      +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `)`, `,`, `@`, `if`, or `|`, found `:`
[INFO] [stdout]   --> src/main.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let (i: i32, t: i32) = (0, 0);
[INFO] [stdout]    |           ^ expected one of `)`, `,`, `@`, `if`, or `|`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `mut` or `const` keyword in raw pointer type
[INFO] [stdout]   --> src/main.rs:67:37
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn make_binop(op: TOKENTYPE, left: *AST, right: *AST) -> Box<Self> {
[INFO] [stdout]    |                                        ^
[INFO] [stdout]    |
[INFO] [stdout] help: add `mut` or `const` here
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn make_binop(op: TOKENTYPE, left: *mut AST, right: *AST) -> Box<Self> {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 67 |     fn make_binop(op: TOKENTYPE, left: *const AST, right: *AST) -> Box<Self> {
[INFO] [stdout]    |                                         +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `mut` or `const` keyword in raw pointer type
[INFO] [stdout]   --> src/main.rs:67:50
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn make_binop(op: TOKENTYPE, left: *AST, right: *AST) -> Box<Self> {
[INFO] [stdout]    |                                                     ^
[INFO] [stdout]    |
[INFO] [stdout] help: add `mut` or `const` here
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn make_binop(op: TOKENTYPE, left: *AST, right: *mut AST) -> Box<Self> {
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 67 |     fn make_binop(op: TOKENTYPE, left: *AST, right: *const AST) -> Box<Self> {
[INFO] [stdout]    |                                                      +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `)`, `,`, `@`, `if`, or `|`, found `:`
[INFO] [stdout]   --> src/main.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let (i: i32, t: i32) = (0, 0);
[INFO] [stdout]    |           ^ expected one of `)`, `,`, `@`, `if`, or `|`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tokens` in this scope
[INFO] [stdout]   --> src/main.rs:84:19
[INFO] [stdout]    |
[INFO] [stdout] 84 |     println!("{:?}", tokens);
[INFO] [stdout]    |                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tokens` in this scope
[INFO] [stdout]   --> src/main.rs:84:19
[INFO] [stdout]    |
[INFO] [stdout] 84 |     println!("{:?}", tokens);
[INFO] [stdout]    |                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `TOKENTYPE: Clone` is not satisfied
[INFO] [stdout]   --> src/main.rs:44:2
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[derive(Default, Debug, Clone)]
[INFO] [stdout]    |                          ----- in this derive macro expansion
[INFO] [stdout] 43 | struct Token {
[INFO] [stdout] 44 |     tok_type: TOKENTYPE,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `TOKENTYPE`
[INFO] [stdout]    |
[INFO] [stdout] help: consider annotating `TOKENTYPE` with `#[derive(Clone)]`
[INFO] [stdout]    |
[INFO] [stdout] 13 + #[derive(Clone)]
[INFO] [stdout] 14 | enum TOKENTYPE {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:61:11
[INFO] [stdout]    |
[INFO] [stdout] 61 |             value: val,
[INFO] [stdout]    |                    ^^^ expected `f64`, found `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `TOKENTYPE: Clone` is not satisfied
[INFO] [stdout]   --> src/main.rs:44:2
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[derive(Default, Debug, Clone)]
[INFO] [stdout]    |                          ----- in this derive macro expansion
[INFO] [stdout] 43 | struct Token {
[INFO] [stdout] 44 |     tok_type: TOKENTYPE,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `TOKENTYPE`
[INFO] [stdout]    |
[INFO] [stdout] help: consider annotating `TOKENTYPE` with `#[derive(Clone)]`
[INFO] [stdout]    |
[INFO] [stdout] 13 + #[derive(Clone)]
[INFO] [stdout] 14 | enum TOKENTYPE {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `TOK_NUM` found for enum `TOKENTYPE` in the current scope
[INFO] [stdout]   --> src/main.rs:62:19
[INFO] [stdout]    |
[INFO] [stdout] 13 | enum TOKENTYPE {
[INFO] [stdout]    | -------------- variant, associated function, or constant `TOK_NUM` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 62 |             op: TOKENTYPE::TOK_NUM,
[INFO] [stdout]    |                            ^^^^^^^ variant, associated function, or constant not found in `TOKENTYPE`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 62 -             op: TOKENTYPE::TOK_NUM,
[INFO] [stdout] 62 +             op: TOKENTYPE::TOKNUM,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:63:10
[INFO] [stdout]    |
[INFO] [stdout] 63 |             left: None,
[INFO] [stdout]    |                   ^^^^ expected `*mut AST`, found `Option<_>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*mut AST`
[INFO] [stdout]                      found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:64:11
[INFO] [stdout]    |
[INFO] [stdout] 64 |             right: None,
[INFO] [stdout]    |                    ^^^^ expected `*mut AST`, found `Option<_>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*mut AST`
[INFO] [stdout]                      found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:70:11
[INFO] [stdout]    |
[INFO] [stdout] 70 |             value: 0,
[INFO] [stdout]    |                    ^ expected `f64`, found integer
[INFO] [stdout]    |
[INFO] [stdout] help: use a float literal
[INFO] [stdout]    |
[INFO] [stdout] 70 |             value: 0.0,
[INFO] [stdout]    |                     ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:61:11
[INFO] [stdout]    |
[INFO] [stdout] 61 |             value: val,
[INFO] [stdout]    |                    ^^^ expected `f64`, found `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:72:10
[INFO] [stdout]    |
[INFO] [stdout] 72 |             left: left,
[INFO] [stdout]    |                   ^^^^ types differ in mutability
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*mut AST`
[INFO] [stdout]               found raw pointer `*const AST`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:73:11
[INFO] [stdout]    |
[INFO] [stdout] 73 |             right: right,
[INFO] [stdout]    |                    ^^^^^ types differ in mutability
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*mut AST`
[INFO] [stdout]               found raw pointer `*const AST`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:94:36
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let toks = vec![Token::default(); Tok_Max];
[INFO] [stdout]    |                -----------------------^^^^^^^-
[INFO] [stdout]    |                |                      |
[INFO] [stdout]    |                |                      expected `usize`, found `i32`
[INFO] [stdout]    |                arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/alloc/src/vec/mod.rs:3714:7
[INFO] [stdout] help: you can convert an `i32` to a `usize` and panic if the converted value doesn't fit
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let toks = vec![Token::default(); Tok_Max.try_into().unwrap()];
[INFO] [stdout]    |                                              ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `TOK_NUM` found for enum `TOKENTYPE` in the current scope
[INFO] [stdout]   --> src/main.rs:62:19
[INFO] [stdout]    |
[INFO] [stdout] 13 | enum TOKENTYPE {
[INFO] [stdout]    | -------------- variant, associated function, or constant `TOK_NUM` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 62 |             op: TOKENTYPE::TOK_NUM,
[INFO] [stdout]    |                            ^^^^^^^ variant, associated function, or constant not found in `TOKENTYPE`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 62 -             op: TOKENTYPE::TOK_NUM,
[INFO] [stdout] 62 +             op: TOKENTYPE::TOKNUM,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:63:10
[INFO] [stdout]    |
[INFO] [stdout] 63 |             left: None,
[INFO] [stdout]    |                   ^^^^ expected `*mut AST`, found `Option<_>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*mut AST`
[INFO] [stdout]                      found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:64:11
[INFO] [stdout]    |
[INFO] [stdout] 64 |             right: None,
[INFO] [stdout]    |                    ^^^^ expected `*mut AST`, found `Option<_>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*mut AST`
[INFO] [stdout]                      found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:70:11
[INFO] [stdout]    |
[INFO] [stdout] 70 |             value: 0,
[INFO] [stdout]    |                    ^ expected `f64`, found integer
[INFO] [stdout]    |
[INFO] [stdout] help: use a float literal
[INFO] [stdout]    |
[INFO] [stdout] 70 |             value: 0.0,
[INFO] [stdout]    |                     ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:72:10
[INFO] [stdout]    |
[INFO] [stdout] 72 |             left: left,
[INFO] [stdout]    |                   ^^^^ types differ in mutability
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*mut AST`
[INFO] [stdout]               found raw pointer `*const AST`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:73:11
[INFO] [stdout]    |
[INFO] [stdout] 73 |             right: right,
[INFO] [stdout]    |                    ^^^^^ types differ in mutability
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*mut AST`
[INFO] [stdout]               found raw pointer `*const AST`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `project_v3` (bin "project_v3") due to 13 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:94:36
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let toks = vec![Token::default(); Tok_Max];
[INFO] [stdout]    |                -----------------------^^^^^^^-
[INFO] [stdout]    |                |                      |
[INFO] [stdout]    |                |                      expected `usize`, found `i32`
[INFO] [stdout]    |                arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/alloc/src/vec/mod.rs:3714:7
[INFO] [stdout] help: you can convert an `i32` to a `usize` and panic if the converted value doesn't fit
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let toks = vec![Token::default(); Tok_Max.try_into().unwrap()];
[INFO] [stdout]    |                                              ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `project_v3` (bin "project_v3" test) due to 13 previous errors
[INFO] running `Command { std: "docker" "inspect" "e3c6624193c74a646169a9bb295b31a07ab587193cc65707b922bbf5f720f507", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e3c6624193c74a646169a9bb295b31a07ab587193cc65707b922bbf5f720f507", kill_on_drop: false }`
[INFO] [stdout] e3c6624193c74a646169a9bb295b31a07ab587193cc65707b922bbf5f720f507
